import math
x,y = (math.pi)*(1/6),(math.pi)*(1/3)
ch = (math.cos(x)+1)/(math.cos(y)+1)
print(ch)